
<table>
	<tr>
		<td width="20%" align="right">流水号：</td>
		<td width="30%">{[$result.id]}（{[$result.oper_t]}）</td>
		<td width="20%" align="right">状态：</td>
		<td width="30%">{[$result.status_t]}</td>
	</tr>
	<tr>		
		<td align="right">编号：</td>
		<td>{[$result.code]}</td>
		<td align="right">工程师：</td>
		<td><a href="javascript:void(0)" onclick="emp({[$result.engineer]})">{[$result.engineer_t]}</a></td>		
	</tr>
	<tr>
		<td align="right">分类：</td>
		<td>{[$result.category_t]}</td>
		<td align="right">业务员：</td>
		<td><a href="javascript:void(0)" onclick="emp({[$result.emp]})">{[$result.emp_t]}</a></td>
	</tr>
	<tr>
		<td align="right">供应商：</td>
		<td colspan="3">{[$result.supplier_x->fullname]}<br />
		地址：{[$result.supplier_x->address]} 网站：{[$result.supplier_x->web]}</td>
	</tr>
	<tr>
		<td align="right">联系人：</td>
		<td id="edit_linkman" colspan="3">{[$result.supplier_x->contact]} 手机：{[$result.supplier_x->mobile]}
		电话：{[$result.supplier_x->tel]} 传真：{[$result.supplier_x->fax]} 电邮：{[$result.supplier_x->email]}</td>
	</tr>
	<tr>		
		<td align="right">填单日期：</td>
		<td>{[$result.date]}</td>
		<td align="right">产品寿命：</td>
		<td>{[$result.sm|money]}</td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3">{[$result.content|nl2br]}</td>
	</tr>
	<tr>
		<td colspan="4">
		{[include file="_file_view.tpl"]}
		</td>
	</tr>
	<tr>
		<td align="right">创建时间：</td>
		<td>{[$result.createtime]}</td>
		<td align="right">更新时间：</td>
		<td>{[$result.modifytime]}</td>
	</tr>
</table>

<div id="tab_view_{[$smarty.now]}" style="margin-top: 0.2em;">

<ul>
    {[foreach name=outer key=key item=item from=$tabs]}
	{[assign var="tab" value="`$tab+1`"]}
	<li><a href="{[$item.cc]}{[$result.id]}">{[$key]}</a></li>
	{[/foreach]}
</ul>

</div>

<script type="text/javascript" src="js/tab_view.js?r={[$smarty.now]}"></script>
